package com.educate.book.rpc.api;

import com.educate.book.model.bo.PictureBookBO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface PictureBookService {

    void create(PictureBookBO bo);

    void delete(PictureBookBO bo);

    void delete(String pictureBookId);

    PictureBookBO detail(String pictureBookId);

    PictureBookBO detail(PictureBookBO bo);

    void update(PictureBookBO bo);

    Page<PictureBookBO> query(PictureBookBO bo, PageRequest pageRequest);

    List<PictureBookBO> list(PictureBookBO bo);
}
